Skip to content

Make X-Ray telemetry opt-in #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 21, 2023
Merged

Conversation

dominikschubert
Copy link
Member

Since this can get quite "spammy" we now disable xray daemon telemetry by default.

@dominikschubert dominikschubert requested a review from joe4dev March 21, 2023 13:24
@dominikschubert dominikschubert self-assigned this Mar 21, 2023
log.Debugf("ARN of the AWS resource running the daemon: %v", config.ResourceARN)
telemetry.Init(awsConfig, session, config.ResourceARN, noMetadata)
if enableTelemetry {
telemetry.Init(awsConfig, session, config.ResourceARN, noMetadata)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would initialize telemetry.T which is why the additional nil checks were added below

Copy link
Member

@joe4dev joe4dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Just a minor logging comment.

@dominikschubert dominikschubert merged commit f65b6ad into localstack Mar 21, 2023
@dominikschubert dominikschubert deleted the optional-xray-telemetry branch March 21, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants